//! 用户空间访问权限

cfg_if::cfg_if! {
    if #[cfg(target_arch = "aarch64")] {
        mod aarch64;
        use aarch64::*;
    } else {
        mod dummy;
        use dummy::*;
    }
}

/// 用户空间地址最大限制
pub const USER_DS: usize = ARCH_USER_DS;
/// 用户空间地址最大范围
pub const USER_SPACE_SIZE: usize = USER_DS + 1;

/// 内核地址最大限制
pub const KERNEL_DS: usize = ARCH_KERNEL_DS;
